﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace MyPublisher.Framework
{
    public class Package
    {
        public List<Content> Contents { get; private set; }
        public string Name { get; set; }
        public User Owner { get; set; }
        public DateTime CreateDate { get; set; }
        public DateTime LastModifyDate { get; set; }
        public string Description { get; set; }

        public string Kind { get; set; }

        public Package()
        {
            this.Contents = new List<Content>();
            this.Name = "Package";
            this.Owner = User.Anonymous;
            this.CreateDate = DateTime.Now;
            this.LastModifyDate = DateTime.Now;
            this.Description = "";
            this.Kind = "Unknown";
        }
    }
}
